﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Buccaneer
{
    class TabSpace : Panel
    {
        public TabSpace() : base()
        {
            Initialize();

            this.spaces = new List<WorkSpace>();

            this.AddSpace("space1");
        }

        private void Initialize()
        {
            this.Text = "Daddy";
        }

        List<WorkSpace> spaces;

        #region Public Functions

        public void AddSpace(string name)
        {
            //WorkSpace ws = new WorkSpace();
        }

        public void RemoveSpace(string name)
        {
            /*/
            foreach (String space in spaces)
            {
                if (space == name)
                {
                    this.spaces.Remove(space);
                    break;
                }
            }
            //*/
        }

        #endregion
    }
}
